Failure when pushing to try with git lfs installed: batch request: missing protocol: "hg::ssh://hg.mozilla.org/try.git/info/lfs"
Categories
(Developer Infrastructure :: Try, defect)
Tracking
(Not tracked)
People
(Reporter: cgopal, Unassigned)
References
(Blocks 1 open bug)
Details
Attachments
(1 file)
1.82 MB,
text/plain
|
Details |
While trying ./mach try perf --show-all
and selecting 'ml-perf tests, it was causing an issue as below.
HEAD is now at 6ce1a2d991c7d Bug 1929040 - [wpt-sync] Update web-platform-tests to d4fb35c4980b6581ce0535b2dac71cbc62f4bd3d, a=testonly
estimates: Runs 1 tasks (1 selected, 0 dependencies)
estimates: Total task duration 0:01:18
estimates: Should take about 0:01:18 (Finished around 2024-11-05 11:32)
Uploading LFS objects: 0% (0/45), 0 B | 0 B/s, done.
batch request: missing protocol: "hg::https://hg.mozilla.org/mozilla-unified.git/info/lfs"
error: failed to push some refs to 'hg::ssh://hg.mozilla.org/try'
Previous HEAD position was 6ce1a2d991c7d Bug 1929040 - [wpt-sync] Update web-platform-tests to d4fb35c4980b6581ce0535b2dac71cbc62f4bd3d, a=testonly
Switched to branch 'bookmarks/central'
Error running mach:mach try perf --show-all
The error occurred in code that was called by the mach command. This is either
a bug in the called code itself or in the way that mach is calling it.
You can invoke./mach busted
to check if this issue is already on file. If it
isn't, please use./mach busted file try
to report it. If./mach busted
is
misbehaving, you can also inspect the dependencies of bug 1543241.If filing a bug, please include the full output of mach, including this error
message.The details of the failure are as follows:
subprocess.CalledProcessError: Command '('/opt/homebrew/bin/git', '-c', 'cinnabar.data=never', 'push', 'hg::ssh://hg.mozilla.org/try', '+253024ee227a00d1c78a0ddc03d9804bae68fd5b:refs/heads/branches/default/tip')' returned non-zero exit status 1.
File "/Users/cgopal/work/mozilla-unified/tools/tryselect/mach_commands.py", line 523, in try_perf
return run(command_context, **kwargs)
File "/Users/cgopal/work/mozilla-unified/tools/tryselect/mach_commands.py", line 174, in run
return mod.run(**kwargs)
File "/Users/cgopal/work/mozilla-unified/tools/tryselect/selectors/perf.py", line 1576, in run
PerfParser.run(
File "/Users/cgopal/work/mozilla-unified/tools/tryselect/selectors/perf.py", line 1421, in run
PerfParser.perf_push_to_try(
File "/Users/cgopal/work/mozilla-unified/tools/tryselect/selectors/perf.py", line 1270, in perf_push_to_try
push_to_try(
File "/Users/cgopal/work/mozilla-unified/tools/tryselect/push.py", line 260, in push_to_try
vcs.push_to_try(
File "/Users/cgopal/work/mozilla-unified/python/mozversioncontrol/mozversioncontrol/init.py", line 954, in push_to_try
self._push_to_try_with_log_capture(
File "/Users/cgopal/work/mozilla-unified/python/mozversioncontrol/mozversioncontrol/init.py", line 333, in _push_to_try_with_log_capture
raise subprocess.CalledProcessError(
Updated•7 months ago
|
Updated•7 months ago
|
Updated•7 months ago
|
Comment 1•7 months ago
|
||
I think this is the right component for this failure, but feel free to move it again if needed.
Comment 2•7 months ago
|
||
My first thought is that git-cinnabar probably doesn't support LFS. Any ideas, glandium?
Comment 3•7 months ago
|
||
Can you provide the output when you set GIT_CINNABAR_LOG=remote-helper:5
in the environment?
Attached the output from ./mach try perf with GIT_CINNABAR_LOG=remote-helper:5
GIT_CINNABAR_LOG=remote-helper:5 ./mach try perf --show-all >> ~/Downloads/all_ml_Perf_output.log
Updated•7 months ago
|
Comment 5•7 months ago
|
||
So, this is, in fact, LFS acting on its own (independently of git-cinnabar), although it seems to think there are files it needs to upload... did you git lfs track
files in your worktree?
Updated•7 months ago
|
Updated•7 months ago
|
I no longer face this issue now. I have been using ./mach try perf --show-all last week and works fine now.
Comment 7•3 months ago
|
||
FTR If you get the same issue, try:
git config --local lfs.fetchfalse true
git lfs uninstall
Description
•